package com.example.supplychainbackend.dao.purchase;

import com.example.supplychainbackend.entity.purchase.PurchaseOrderEntity;
import com.example.supplychainbackend.entity.purchase.PurchaseRequireEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PurchaseOrderDao extends JpaRepository<PurchaseOrderEntity,String> {
    List<PurchaseOrderEntity> findAllByEnterpriseId(String enterpriseId);
}
